package cn.six1943.deepchat.module.ai.controller.admin.provider.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - AI提供商新增/修改 Request VO")
@Data
public class ProviderSaveReqVO {

    @Schema(description = "id", example = "1024")
    private Long id;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @Schema(description = "数据类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "数据类型不能为空")
    private Integer dataType;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "模型服务")
    private Boolean model;

    @Schema(description = "图标", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "图标不能为空")
    private String avatar;

    @Schema(description = "agent服务")
    private Boolean agent;

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编码不能为空")
    private String code;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "说明", example = "你猜")
    private String remark;

    @Schema(description = "默认配置")
    private String defaultConf;

    @Schema(description = "数据集默认配置")
    private String datasetConf;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

}